/*
 * @Author: qinuoyun
 * @Date:   2019-08-27 10:10:32
 * @Last Modified by:   Sean
 * @Last Modified time: 2019-09-12 01:32:36
 */
var config = [{
    label: "姓名",
    type: "input",
    field: "name",
    labelWidth: "120px",
    placeholder: "输入姓名",
    default: ""
  },
  [{
    label: "姓名",
    type: "input",
    field: "name2",
    labelWidth: "120px",
    span: 8,
    placeholder: "输入姓名",
    default: ""
  }, {
    label: "姓名",
    type: "input",
    field: "name33",
    labelWidth: "120px",
    span: 8,
    placeholder: "输入姓名",
    default: ""
  }], {
    label: "姓名",
    type: "upload",
    field: "name244",
    labelWidth: "120px",
    placeholder: "输入姓名",
    default: ""
  },
  {
    label: "问哦",
    type: "textarea",
    field: "desc",
    labelWidth: "120px",
    placeholder: "输入姓名",
    default: ""
  },
  {
    label: "活动区域",
    type: "select",
    field: "region",
    labelWidth: "120px",
    placeholder: "活动区域",
    default: "",
    option: [{
      label: "区域一",
      value: "shanghai"
    }, {
      label: "区域二",
      value: "beijing"
    }]
  },
  {
    label: "日期",
    type: "date",
    field: "date1",
    labelWidth: "120px",
    placeholder: "输入姓名",
    default: ""
  },
  {
    label: "时间",
    type: "time",
    field: "date2",
    labelWidth: "120px",
    placeholder: "输入姓名",
    default: ""
  },
  {
    label: "日期时间",
    type: "datetimerange",
    field: "date3",
    labelWidth: "120px",
    placeholder: "输入姓名",
    default: "",
    range: "至",
    start: "开始日期",
    end: "结束日期"
  },
  {
    label: "即时配送",
    type: "switch",
    field: "delivery",
    labelWidth: "120px",
    placeholder: "即时配送",
    default: true
  },
  {
    label: "即时配送",
    type: "checkbox",
    field: "type",
    labelWidth: "120px",
    placeholder: "即时配送",
    default: "",
    option: [{
      label: "美食/餐厅线上活动",
      value: "shanghai"
    }, {
      label: "地推活动",
      value: "beijing2"
    }, {
      label: "线下主题活动",
      value: "beijing3"
    }, {
      label: "单纯品牌曝光",
      value: "beijing5"
    }]

  },
  {
    label: "即时配送",
    type: "radio",
    field: "resource",
    labelWidth: "120px",
    placeholder: "即时配送",
    default: "",
    option: [{
      label: "区域一",
      value: "shanghai"
    }, {
      label: "区域二",
      value: "beijing"
    }]
  },
  [{
    type: "button",
    field: "desc",
    labelWidth: "120px",
    placeholder: "提交",
    callback: {

    }
  }, {
    type: "button",
    field: "desc",
    labelWidth: "120px",
    placeholder: "重置",
    callback: {

    }
  }]
]


export default config;
